package org.github.choviwu.example.config;

import org.github.choviwu.example.shiro.ShiroPermissionFilter;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by ChoviWu on 2018/05/08
 * Description:
 */
@Configuration
@AutoConfigureBefore(ShiroConfig.class)
public class ShiroFilterConfig {


    @Bean("shiroPermissionFilter")
    public ShiroPermissionFilter shiroPermissionFilter(){
        return new ShiroPermissionFilter();
    }



}
